package com.haiyangwang1.boys;

public class Test {
    public static void main(String[] args) {
        Boy boy = new Boy();
        Pet cat = new Cat();
        Pet dog = new Dog();
        Pet pet1 = new Dog();
        boy.play(dog);
    }
}
